package com.sqx.modules.health.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sqx.modules.health.entity.Recordset;
import com.sqx.modules.health.mapper.RecordMapper;
import com.sqx.modules.health.mapper.RecordsetMapper;
import com.sqx.modules.health.service.IRecordsetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 设备使用记录 服务实现类
 * </p>
 *
 * @author gxy
 * @since 2022-07-28
 */
@Service
public class RecordsetServiceImpl extends ServiceImpl<RecordsetMapper, Recordset> implements IRecordsetService {

    @Autowired
    private RecordMapper recordMapper;

    @Override
    public Recordset getLast(String imei) {
        return recordMapper.getLast(imei);
    }
}
